/**
 * Created by Administrator on 2017/10/17.
 */
var mongoose = require("mongoose");
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
	name:String,
	password:String,
	data:{type:Date,default:Date.now}
});
schema.plugin(mongoosePaginate);

var user = mongoose.model('User',schema,"user");

module.exports= user;